package OOPS;

class Hello16 {
	void show() {
		System.out.println("-- show in Hello class --");
	}

	void display() {
		System.out.println("-- display in Hello class --");
	}

	void showMessage() {
		System.out.println("-- showMessage in Hello class --");
	}

	void displayMessage() {
		System.out.println("-- displayMessage in Hello class --");
	}
}

class Abc3 extends Hello16 {
	void display() {
		super.display();
	}

	void showMessage() {
		System.out.println("-- showMessage from Abc --");
	}

	void displayMessage() {
		super.displayMessage();
		System.out.println("-- displayMessage from Abc --");
		super.displayMessage();
	}
}

class Test58 {
	public static void main(String str[]) {
		Abc3 ab = new Abc3();
		ab.show();
		ab.display();
		ab.showMessage();
		ab.displayMessage();
	}
}